-
Home
-
Whols – Wholesale Prices and B2B Store Solution for WooCommerce
-
2.4.4 (latest)
-
Code
-
Classes
- Settings_REST_API
| Total Complexity |
94 |
| Dependencies |
5 |
| Dependents |
1 |
| Total lines |
928 |
| Lines of code |
631 |
| Logical lines of code |
278 |
| Comment lines |
168 |
| Methods |
27 |
| Properties |
2 |
Methods 27
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| calculate_metrics() |
A |
40 |
13 |
66 |
| fill_missing_periods() |
A |
39 |
11 |
74 |
| register_rest_routes() |
A |
33 |
3 |
152 |
| generate_time_series_data() |
A |
43 |
9 |
50 |
| get_top_categories() |
A |
48 |
8 |
31 |
| get_top_products() |
S |
51 |
5 |
26 |
| check_permission() |
S |
55 |
5 |
20 |
| reset_section() |
S |
55 |
5 |
19 |
| get_dashboard_data() |
S |
57 |
4 |
17 |
| update_settings() |
S |
58 |
4 |
16 |
| count_action_items() |
S |
46 |
2 |
45 |
| determine_optimal_granularity() |
S |
60 |
3 |
13 |
| sanitize_array() |
S |
63 |
3 |
11 |
| process_dashboard_data() |
S |
51 |
2 |
25 |
| get_filtered_orders() |
S |
56 |
2 |
19 |
| calculate_trend() |
S |
69 |
3 |
6 |
| instance() |
S |
72 |
2 |
6 |
| __construct() |
S |
79 |
1 |
3 |
| get_settings() |
S |
69 |
1 |
6 |
| update_wp_option() |
S |
72 |
1 |
5 |
| get_roles() |
S |
80 |
1 |
3 |
| get_pages() |
S |
80 |
1 |
3 |
| get_products() |
S |
80 |
1 |
3 |
| get_product_categories() |
S |
80 |
1 |
3 |
| get_countries() |
S |
80 |
1 |
3 |
| get_users() |
S |
80 |
1 |
3 |
| get_payment_gateways() |
S |
80 |
1 |
3 |